<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HXTML 1.0 Transitional//EN">
<html>
  <head>
    <title>去工作界面</title>
    <style type="text/css">
    	body{
    		padding:0px;
    		margin:0px;
    	}
    	.work{
    		display:block;
    		width:100px;
    		height:30px;
    		font-size:15px;
    		text-align:center;
    		line-height:30px;
    		margin-top:20px;
    		background-image:url("/SBD_OASystem/pages/cc/images/work.gif");
    		color:white;
    		text-decoration:none;
    	}
    	.workLeftDiv{
    		width:150px;
    		height:600px;
    		border:5px solid #85bde4;
    		background-color:#b5d8f0;
    		float:left;
    	}
    	.workRightDiv{
    		width:840px;
    		height:610px;
    		background-color:red;
    	}
    	.workButton{
    		width:100px;
    		height:30px;
    		font-size:15px;
    		color:#2e5571;
    		margin-top:10px;
    		margin-left:20px;
    		border:0px;
    		background-image:url("/SBD_OASystem/pages/cc/images/workButton.gif");
    	}
    	.workButton:hover{
    		color:white;
    		background-image:url("/SBD_OASystem/pages/cc/images/workButton1.gif");
    	}
    	#workMainDiv{
    		display:none;
    		width:100px;
    		background-color:#b5d8f0;
    		margin-left:20px;
    	}
    </style>
  	<script type="text/javascript" src="/SBD_OASystem/jQuery/jquery-1.9.1.js"></script>
  </head>
  <body>
  	<script type="text/javascript">
  		$(function(){
  			$("input.workButton").click(function(){
  				$("#workMainDiv").toggle(200);
  			});
  		});
  	</script>
  	<div class="workLeftDiv">
  		<input type="button" class="workButton" value="工作流程"/><br/>
  		<div id="workMainDiv">
    		<s:iterator value="listWork" var="work">
  				<a target="working" class="work" href="/SBD_OASystem/cc/workStreamAction!working.action?wsid=<s:property value="#work.wsid"/>">
  					<s:property value="#work.wsname"/>
  				</a>
  			</s:iterator>
  		</div>
  	</div>
  	<div class="workRightDiv">
  		<iframe name="working" frameborder="0" style="width:840px;height:610px;" src="/SBD_OASystem/pages/cc/working.jsp" scrolling="yes"></iframe>
  	</div>
  </body>
</html>
